package com.tf_cut.admin.agent.vo;

import com.tf_cut.admin.common.pojo.PageCondition;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;

@NoArgsConstructor	//无参数构造函数，不加会在bean copy时报错
@AllArgsConstructor //全参数构造函数
@Builder			//有全参数构造函数时，可以使用builder方式new 对象
@Data
public class AgentAndAccountVo extends PageCondition implements Serializable{
	// 代理商
	private String agentId;
	private String agentName;
	private String agentPerson;
	private String agentPhone;
	private String loginId;
	private String startDate;
	private String endDate;
	private String agentState;
	//0 代表一级供应商 其他代表二级供应商
	private String parentAgentId;
	
	// 虚拟账户
	private String agentAccountId;
	private String agentAccount;
	private BigDecimal agentAccountBalance;
	private BigDecimal agentAccountIncome;
	private BigDecimal agentAccountPay;
	private BigDecimal agentAccountCommission;
	private BigDecimal agentAccountFreeze;
	private BigDecimal baseAmountPoint;	//基础点数（月结）
	private BigDecimal stepAmountPoint;	//阶梯点数（季结）
	
	// 结算类型
	private String commissionId;
	private Integer commissionType;
	
	// 系统用户
	private String initPassword;
	private String loginName;

	//代理商分个人或企业【0个人1企业】
	private String bankName;
	private String bankCode;
	private Integer agentType;
	private String personName;
	private String personCode;
	private String corporateName;
	private String corporateCode;
	private String corporateAddress;
	private String corporatePhone;

	private String isBind;
	
	private double cpmyue;
	private String cpmji;

}
